Skip to content

Drop node 18 and 20. Add 24#1882

Open
mm-kevcenteno wants to merge 12 commits into
mainfrom
kevin/drop-old-node
Open

Drop node 18 and 20. Add 24#1882
mm-kevcenteno wants to merge 12 commits into
mainfrom
kevin/drop-old-node

Conversation

@mm-kevcenteno
Copy link
Copy Markdown
Contributor

package-lock.json files were rebuilt because of missing transitive dependencies that caused npm ci to fail

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request drops support for Node.js 18 and 20, updating the minimum supported version to 22, and upgrades various dependencies. It replaces the deprecated punycode module with node:url's domainToASCII, adopts standard node: prefix imports, and modernizes cryptography calls using crypto.hash(). Additionally, the request client is refactored to use AbortSignal.timeout() instead of manual timeouts. A potential issue was identified in src/webServiceClient.ts where the caught error in the catch block is directly cast to Error, which can cause a runtime crash if the thrown value is not an object.

Comment thread src/webServiceClient.ts
@mm-kevcenteno mm-kevcenteno force-pushed the kevin/drop-old-node branch from b0ee029 to 5ba0fdd Compare May 26, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants